/**
 * ${tableComment}请求接口
 * @author 王振宇
 * @since ${.now?string('yyyy-MM-dd')}
 */
export default ({ service, request, serviceForMock, requestForMock, mock, faker, tools }) => ({
  GET_${allbClassName}_PAGE_LIST (data = {}) {
    return request({
      url: '/${gateWayRoot}/${apiVersion}/${sClassName}/getPageList',
      method: 'get',
      params: data
    })
  },
  GET_${allbClassName}_LIST (data = {}) {
    return request({
      url: '/${gateWayRoot}/${apiVersion}/${sClassName}/getList',
      method: 'get',
      params: data
    })
  },
  GET_${allbClassName}_INFO () {
    return request({
      url: '/${gateWayRoot}/${apiVersion}/${sClassName}/info',
      method: 'get'
    })
  },
  SAVE_${allbClassName} (data = {}) {
    return request({
      url: '/${gateWayRoot}/${apiVersion}/${sClassName}/save',
      method: 'post',
      data: data
    })
  },
  UPDATE_${allbClassName} (data = {}) {
    return request({
      url: '/${gateWayRoot}/${apiVersion}/${sClassName}/update',
      method: 'put',
      data: data
    })
  },
  DELETE_${allbClassName} (data = {}) {
    return request({
      url: '/${gateWayRoot}/${apiVersion}/${sClassName}/delete',
      method: 'delete',
      data: data
    })
  },
  DELETE_BATCH_${allbClassName} (data = {}) {
    return request({
      url: '/${gateWayRoot}/${apiVersion}/${sClassName}/deleteBatch',
      method: 'delete',
      data: data
    })
  }
})
